package moa.sequencestreams.generator;

/**
 * 
 * This class contain parameters of the patterns
 * @author celia
 *
 */

public class PatternPar {
	
	private static int npats;	// number of patterns
	private static float patlen; // average length of pattern
	public static float corr;	// correlation between consecutive patterns
	public static float conf;	// average confidence in a rule
	public static float conf_var;  // variation in the confidence
	public static int seed;
	
	public PatternPar(){
		setNpats(40);
		setPatlen((float) 3);
		corr = (float) 0.25;
		conf=(float) 0.75;
		conf_var=(float) 0.1; 
		seed=0;
	}
	
	public PatternPar(int nbpat,float len, float cor, float con, float conVar){
		setNpats(nbpat);
		setPatlen((float) len);
		corr = (float) cor;
		conf=(float) con;
		conf_var=(float) conVar; 
		seed=0;
	}


	public void setNpats(int npats) {
		PatternPar.npats = npats;
	}

	public int getNpats() {
		return npats;
	}

	public void setPatlen(float patlen) {
		PatternPar.patlen = patlen;
	}

	public float getPatlen() {
		return patlen;
	}
	
	

}
